IK Copy Image


IK Copy Image Image Number, Source Image Number
IK Copy Image Image Number, Source Image Number, Left, Top, Right, Bottom

Description

This command will copy an image to another. If the coordinates are not specified, the whole image will be copied. If the image where the data should be copied to already exists, it will be overwritten by this command. The new image will also copy the type of the image, meaning that copying a render target will result in a render target, and a normal image will be copied to a normal image.
It is not possible to copy an image to itself. Also, specifying the coordinates Left, Top, Right, Bottom might be a little slower than copying the entire image in some cases. The speed loss when specifying the coordinates for render targets is negligible to non existant.

Parameters

Image NumberIntegerThe ID of the image where the data will be copied to.
Source Image NumberIntegerThe ID of an existing image.
LeftIntegerLeft coordinate.
TopIntegerTop Coordinate.
RightIntegerRight Coordinate.
BottomIntegerBottom Coordinate.


Index